package com.gezi.admin.module.code.tmpl.model;

public enum CodeTmplTypeEnum {

    SHIWU("实物"),
    XUNI("虚拟");

    private String remark;
    CodeTmplTypeEnum(String remark) {
        this.remark = remark;
    }

    /**
     * 备注
     * @return
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 是否相同
     * @param name
     * @return
     */
    public boolean isSame(String name){
        return name().equals(name);
    }
}
